package cn.vivi.nacos.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("nacos-payment-service")
public interface PaymentClient {

    @GetMapping("/payments/{id}")
    String hello(@PathVariable("id") String id);

}
